package com.ck.common.model;

public class Device {
	private Long deviceId;

	private String deviceCode;

	private Long deviceGroupId;

	private Long addTime;

	private Long lastReportTime;

	private String intranetIp;

	private String externalIp;

	private Integer deviceStatus;

	private String softwareVersion;

	private Long softwareUpgradeTime;

	private String firmwareVersion;

	private Long firmwareUpgradeTime;

	private Long lastBindingTime;

	private Integer bindStatus;

	private String token;

	public Long getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public Long getDeviceGroupId() {
		return deviceGroupId;
	}

	public void setDeviceGroupId(Long deviceGroupId) {
		this.deviceGroupId = deviceGroupId;
	}

	public String getDeviceCode() {
		return deviceCode;
	}

	public void setDeviceCode(String deviceCode) {
		this.deviceCode = deviceCode;
	}

	public Long getAddTime() {
		return addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Long getLastReportTime() {
		return lastReportTime;
	}

	public void setLastReportTime(Long lastReportTime) {
		this.lastReportTime = lastReportTime;
	}

	public String getIntranetIp() {
		return intranetIp;
	}

	public void setIntranetIp(String intranetIp) {
		this.intranetIp = intranetIp;
	}

	public String getExternalIp() {
		return externalIp;
	}

	public void setExternalIp(String externalIp) {
		this.externalIp = externalIp;
	}

	public Integer getDeviceStatus() {
		return deviceStatus;
	}

	public void setDeviceStatus(Integer deviceStatus) {
		this.deviceStatus = deviceStatus;
	}

	public Long getLastBindingTime() {
		return lastBindingTime;
	}

	public void setLastBindingTime(Long lastBindingTime) {
		this.lastBindingTime = lastBindingTime;
	}

	public String getSoftwareVersion() {
		return softwareVersion;
	}

	public void setSoftwareVersion(String softwareVersion) {
		this.softwareVersion = softwareVersion;
	}

	public Long getSoftwareUpgradeTime() {
		return softwareUpgradeTime;
	}

	public void setSoftwareUpgradeTime(Long softwareUpgradeTime) {
		this.softwareUpgradeTime = softwareUpgradeTime;
	}

	public String getFirmwareVersion() {
		return firmwareVersion;
	}

	public void setFirmwareVersion(String firmwareVersion) {
		this.firmwareVersion = firmwareVersion;
	}

	public Long getFirmwareUpgradeTime() {
		return firmwareUpgradeTime;
	}

	public void setFirmwareUpgradeTime(Long firmwareUpgradeTime) {
		this.firmwareUpgradeTime = firmwareUpgradeTime;
	}

	public Integer getBindStatus() {
		return bindStatus;
	}

	public void setBindStatus(Integer bindStatus) {
		this.bindStatus = bindStatus;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Device() {
	}

	public Device(String deviceCode, Long deviceGroupId,Long addTime, Long lastReportTime, String intranetIp, String externalIp, Integer deviceStatus, String softwareVersion, Long softwareUpgradeTime, String firmwareVersion, Long firmwareUpgradeTime, Long lastBindingTime, Integer bindStatus, String token) {
		this.deviceGroupId = deviceGroupId;
		this.deviceCode = deviceCode;
		this.addTime = addTime;
		this.lastReportTime = lastReportTime;
		this.intranetIp = intranetIp;
		this.externalIp = externalIp;
		this.deviceStatus = deviceStatus;
		this.softwareVersion = softwareVersion;
		this.softwareUpgradeTime = softwareUpgradeTime;
		this.firmwareVersion = firmwareVersion;
		this.firmwareUpgradeTime = firmwareUpgradeTime;
		this.lastBindingTime = lastBindingTime;
		this.bindStatus = bindStatus;
		this.token = token;
	}
}